<?php

/**
 * GravatarWidget class
 *
 * @author Julot
 * @since Sunday, May 27, 2012. 05:07 PM
 */
Yii::import('application.modules.qa.extensions.EGravatarWidget');

class GravatarWidget extends EGravatarWidget {

	public function run() {
		if (YII_DEBUG) {
			echo CHtml::image(
				$this->default, $this->htmlOptions['alt'], $this->htmlOptions
			);
		} else {
			parent::run();
		}
	}

}
